<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fns" uri="/WEB-INF/tlds/fns.tld" %>
<%@ attribute name="id" type="java.lang.String" required="true" description="选择框id"%>
<%@ attribute name="name" type="java.lang.String" required="true" description="选择框name"%>
<%@ attribute name="value" type="java.lang.String" description="选择框值"%>
<%@ attribute name="class" type="java.lang.String" description="选择框class"%>
<%@ attribute name="style" type="java.lang.String" description="选择框tyle"%>
<%@ attribute name="title" type="java.lang.String" description="选择框title"%>
<%@ attribute name="optionDataId" type="java.lang.String" required="true" description="字典类型Code"%>
<select id="${id }" name="${name }" class="border_none required ${class }" style="${style}" 
    <c:if test="${title != null && title != '' }">title="${title }"</c:if>>
	<c:forEach var="item" items="${fns:getDictList(optionDataId)}">
		<option value="${item.dictValue }" <c:if test="${item.dictValue == value }">selected="selected"</c:if>>${item.dictName }</option>
	</c:forEach>
</select>
